#include <QCoreApplication>
#include <iostream>

class Date{
public:
    int day;
    int month;
    int year;

    void print(){
        std::cout << day << "." << month << "." << year << std::endl;
    }
};


int main(int argc, char *argv[]){
    QCoreApplication a(argc, argv);

    Date today;

    today.day = 14;
    today.month = 1;
    today.year = 2022;

    today.print();

    return a.exec();
}
